package com.eqdd.yiqidian.ui.companyspace

import com.eqdd.yiqidian.base.Config
import com.eqdd.yiqidian.bean.LeaderMovableBean
import com.eqdd.yiqidian.http.HttpConfig
import com.eqdd.yiqidian.ui.companyspace.base.BaseSpaceHtmlInfoActivity
import com.lzy.okgo.model.HttpParams

/**
 * Created by jhj on 18-6-26.
 */
class LeaderMovableInfoActivity : BaseSpaceHtmlInfoActivity<LeaderMovableBean>() {

    override val title: String
        get() = "领导活动"
    override val url: String
        get() = HttpConfig.BASE_URL + HttpConfig.LEADER_ACTIVITY_INFO
    override val deleteUrl: String
        get() = HttpConfig.BASE_URL + HttpConfig.LEADER_ACTIVITY_DELETE
    override val deleteFieldName: String
        get() = "activitiesId"


    override fun requestParams(): HttpParams {
        val id = intent.getIntExtra(Config.ID, -1)
        val params = HttpParams()
        params.put("activityId", id)
        return params
    }


}